remove whitespace
clear card type when appropriate
Merge pull request #8 from danxshap/clear_cardtype

Clear card type when appropriate