fixed the search function. Search exact id