clean up card related classes