warning fix in rem_2pi