Fixed remove card bug.