Fix typo in error message variable