fix for #790 with stderr redirect

CLA should be signed