bug fix date total add category based pie