error message is now more descriptive