Fixed a bug in DataValueGenerator