duplicate main in component.json