for-each-ref: avoid color leakage