fix autoconfiguration