some tweeks to the component class