Fix switch position