fixes old migrations