fixed migration so it actually saves