fixing iterative mess