fix broken test & error in nodescontroller