fix a syntax error in redirection