ton of cleanup on net_write