fixes for new chartjs