fixed redirecting after new post submitted