make custom selects conditional