Correct typo in compile, causing crash