remove strange code

fix code

change card fully if pre filled
Merge pull request #1 from codio/remove_bad_code

remove strange code