search only when search param given