better normalization of search params