fix migration tool commit version order problem