added warning loop when turning gravity off