fixing missing cardID in view