improve progress bar