fix a regression introduced at 383e38072aaa52c42ed3019f3459f2eaaf3df829