fixed iterator summator