still clenaing this issue about generate data spec