check for vlan dependency

fixed #393