bugfix to datasets