init prev_ver