fix the network rest api