modify list_r/lpop