fixed $tos.searchCards()