fix stupid redirection error which lead to incomplete logs