fix gravity flag for gazebo.