removing flipping