fixed wall-falling bug