Fix network constant issues