fix for flip for roaring