Tried to fix the gravity

but many awkward errors appeared