fixes on gravity