Fix vlan instantiation bug