removed rewrite base