fixed typos in exception handling