refactor ros node