Some fixes in datasets and vm creation.