fixed a bug
modified progress bar