improve search function result.