resolved the progressbar issue