fix search view bug