fixed issues with undefined params for product search