agregating profits bug solved