Fixed Typo in error message
Merge pull request #2694 from MartinSeeler/patch-1