fixed rmi,socket controller