Fixing the encoder use of accel