fixed redirect of post issue