diff --git a/ArduCopter/Attitude.pde b/ArduCopter/Attitude.pde
index 9896ab1035705d8f72621906a914df6e5ff1b4b2..1918c053a63ef99d09f1969f9077862653d42064 100644
--- a/ArduCopter/Attitude.pde
+++ b/ArduCopter/Attitude.pde
@@ -129,7 +129,7 @@ get_roll_rate_stabilized_ef(int32_t stick_angle)
     roll_axis = wrap_180(roll_axis);
 
     // ensure that we don't reach gimbal lock
-    if (labs(roll_axis > 4500) && g.acro_trainer_enabled) {
+    if (labs(roll_axis) > 4500 && g.acro_trainer_enabled) {
         roll_axis	= constrain(roll_axis, -4500, 4500);
         angle_error = wrap_180(roll_axis - ahrs.roll_sensor);
     } else {