Fixed the fall function