fix spec in data transformation