fixed the bug about walking on the plane