fix small typo in search_spec