Fix bug in commit 88a7b725a7335ecf6d2e8ca07e6602f8aea92db2