got rid of old autodetect attempt