fix click twice search button crash