Save notices in for loop