bugfix when looking for a card on file.