misc changes to cards module