fix regression introduced with d6dca05f145aa21f3b9e1ea0d3c8be9f40ae3d8b