changed param[query] to param[url] across app