output error messages to stderr