fixed error in remotecontractor