fixes for auto configure