remove extra param in query_with_target
if is cheaper than case, switch in query_proxy_methods