correct the iterator_range value_type workaround