Fixing typo crash introduced in the previous commit