addComponent command. fix #29