fix typo; save accel value