init prev_change with 0