fix itemname generation error