Fix bug in auto vel_scale