fix for migrating from old version