debugging data migration issues