fixing data migration