add params argument to remote_filter