renaming component attributue as component_name