removing specific things from rewrite base