fixed null value throws error issue in applyReplacement function
Merge remote-tracking branch 'origin/master'
merged