Fix for_iterator

fixes #71