fixed search result bug