flip correction