fix migrations