Fix progressBar