fixed a typo in error message