fix regression introduced in 839273e5bf073efaeb0330939fd597572df78dc6