fixing typo in an exception