fixed sync issues with reset_position and quant_n