Use shorter string in rewrite