write to stderr instead of log