bug fix for show progress