chart bugfix