fix undefined mergeInto