stderr redirect fix