fix search type