fix version restore