progress bar events fixed