Removed unnecessary ' to \' string replace