fixed some problem in CUPE chart