add path param in addResByPath
fix a bug in deepmerge