fixed progress bar. Removed print