Fix item name replacement.