correcting for loop infos