revert changes on UIComponent