Fixed a bug where the progresbars are displayed in a wrong way