fix search view behavior bug