fixed redirecting from post to same url