fixes migrations