set component to default before theme