do not rewrite prefixes when not needed