deal with component code with more than one character