rewrite host addr