Fixed Flip to Work Correctly