Dynamic config loading fix