support merging source bundles
improved merge, fixed some bugs