fixed bug that data generator ignored local infinite settings