progress bar is not accurate total