fix regression introduced in previous commit