fixed chart error