removed console and also fixed progress bar