migration-as-worker fix