fix bad replace.