fix bug with redirections