fix the progress bar scale