fixed typo and improved error message