fix flipping problem