add rewrite mod
add rewrite mod