resolve bug when vlan is null