changed progressbar struct to contain unsgined chars