fix over zelous replace