fix selecting bug in composite architectures