Fixed replacement for prefixes.