fix connsumption total issue and also some mainpage issues