fix invalid component.json