fix dataset loading