Fixed migration error