minor fix on progress bar