redirect  stream stderror to stdout
bugfix related with passing the parameters to constructor