print warning in stderr, not stdout