fix progressbar, remove debug fields