print errors to stderr