fix regression from commit 5f4cd98