fixed up gravity