fix mogrations