fixed Gravity issues