fixed migration issue