fix no gravity bug