tryin to fix pbar