Correct pbar bug