more bug fixes in charts