fixed up various bugs, comparison tool can now run against the node