Fix for chart buttons