removed legacy xml dependencies and some more conflicting with bes