wipe and reinitialize if migration fails, but also initialize as soon as resources are set.