fix not passing nodeDefinitions