Fixed typo

As reported by : http://stackoverflow.com/questions/25407861/do-replace-not-working