Fixed the progressbar