charts bug fix