fixed auto config