fix component.json error