auto discovery fix