fix search view's bug