fix local datasource class