Fix weird autodetector error