make pre_defined_network work