fix flipped condition