fixed glitch with chart type