optimize charts a little