bug fix in merger and treebase import and warning optimization