fix a crash introduced in commit 2e93de2eaf