bugfix when deleting datasets, improved documentation