bugfix: last item in collection cannot be read. (1)