migration error fix