fix bug introduced in f95d408b9aefe9f85c8e19ad13a6bae205f3802c