event renamed to e
Bug fixes in card search