Attemp to fix null error in networkcontroller