fixed issue of redirection for confirmation for prod