Add `needReplace`
Merge pull request #4 from netputer/replace

Add `needReplace`