add remote-encode