fixed progress bug