chart view bug fix