fixed bug with net_setup