fix migration from gli to thor