check for vlan dependency

fixes #393