improved error handling message.