fix Plane direction bug