Fixed r version.