Fix global component name generation error