fixed the moving walls in Pyramid