fix RemoteException