Some hall sensor fixes