Fix stderr redirection error