Fix progresbar remove debug code