Fixed detector not updating