fixed typos in errors