fixed the datasource type