replace -> replace all

fix string escape bug