refactor RemotePanel