fix regression in fa0edec4

Ref: #2523, #2832