fix for charts