Fix crash causing typo