modify chart error