iteration fixed finally