Fixed an error on the component scaffolt