change typo fomr compenpent to compenent
refactor