fixed setProgress bug that came from reversal