Fix copy/replace bug
Merge pull request #1 from CaseMonster/patch-1

Fix copy/replace bug