bug fix for eventweightsiterative