improve search
fix search: do not search if no params