fixed some spelling mistakes in error message