Pvoutput - Grid and Solar calculation not correct

I use ICC software to feed my pvoutput application. With the new pvoutput integration my grid kWh used is ignored and in energy, my Total Grid used in ICC is added together with Solar produced thus adding total kWh used with solar kWh used = Home kWh and is wrong. The right calculation should be Grid used + Solar produced = Home kWh used. I do suspect ICC populate the wrong value in Pvoutput. Where do I start to fix this?