fixed addComponent