Using a proper square from the face side of the piece can help make sure you're planing the edge square. 