fix networkserver compile error