fix too-much-contention warning