fix regression introduced with the previous commit