Fix migrate files