fix for global highlihg replace