fixed migration failure