get rewrite base correct