add try/except in find_deleted_element