Fix a string bug where ' got replaced by \