fixed one bug in syn data generator