In rewrite mode, it will cause some routing failure