fix component.json bug