fixed migration problem