divMigrate bug fix