divMigrate code mismatch fix