error messages when environment variable is not set