fixed the redirect problem with comment publish