fix small template bug with new SafeRepAccessor stuff