progress dialog fix