fixed migration error