fixed bug with datagen params not being loaded