fixing dataset order