fix the invalid component spec file.