Typo in error message fixed