fixed bug in the sbml document tree