minor fix for progressBar lifecycle