fixing vlan_check