corrected some stupid errors...
node and mac db now saved bydestructor. corrected some errors