important fix: correctly keep track of non-NULL element when doing broadcast when...