tmp for modify lastversion