cleaned up some syntaxes issues in PSNetworkManager