fixed card process bug (phase 1)