Changed replace => replaceFirst for path
Merge pull request #1 from smparekh/master

Changed replace => replaceFirst for path