Fix remoteuserstate.ts reference