Fixed prog bar bug