chart bug fixes