Fix migration error.