config loading fix