fixed card deleting