fix issue and adjust progress bar