minor refactoring in meshgitnode