checkout rewrite