fix regression introduced in 4cf19395480a877df6f96b4ff1d0b17e47594c2d