style fixes, add proper exception for vlan id search