fixed progress printing