fix old migration