Fix import bug and vlan not found bug.