fixed bug handling associative tables in data generator