remove rewrite links