progressbar in debug mode