notices fix for array of comments