plane picker for local coords

fixed errors