Adding replace first
Updating to version 9