added component generator
fix minor typo