[changed] use `Object.assign` instead of `merge`
[changed] use `Object.assign` instead of `copyProperties `