improvement for message(), now work with stderr