card flip fix