cleaning up toggle