fixes #7410 - replaced query_params with params