rewrite StripPrefix