fixed accel bugs