syntaxc error in redirect