adding nodes in datagen now works correctly in firefox