fixed error in remote connection example.