fix the dbs primary dataset type