fixed #9 added ->collectTotals() in observer