bugfix for when migrating from cold