fixed progress dialog