api
bugfix for dataset