fix migrates