fix net_type for 'erlang' type