fix bug that url is incorrect while forwarding post