tested and fixed RemoteHandle