Added ugly hideSearch option