Fixed rogue sensor problem