fix compiling errors because of new namespace of network module