fix regression introduced by #11057