fixed card flip over bug