corrected chart display bug