fix Kompare for JavaNode and Cloud node