small fix for bitmap comparison