send error message to stderr instead of stdout