fix to http rewrite in client center