switch: reset switch before using it.