fix for notices which was not iterating over lists