fix bug with remoteDoc move