add exception for search not found