Remove rewrite base