fixing pbar issue in get binary maps