network class bug fixed