removed unmerged code from dre/match libs