change the way card sense pin is handled, fixes #3