Fixed dataloader to properly read float