recover from pointer going out of the plane