properly configure progress bar