fixed switch check