bugfix for downloading datasets