fix component choose bug when adding bug