removing unnecessary component class