fix schema migrations