toggle button fix for baselines