now, autodetection works