rewrite component.