move patch for server glue template to remoting patch