fixed messages migration