fixed up card id problem