correcting migration error