fix card search