change -1 to 1 in recent_paste