fixed stderr output