trying to fix homepage charts error