Fixed issues with error messages. They work now.