fix: component_data function were moved to helper