fix bugs
fix card bugs