fix hall switch