resolved card flip bug