working, before chartjs change