Fix a bug when kavlan id on one site is higher than 8