Fixing the toggle