fix label array assiged problem