fix regression introduced by 9b35f5cf