config loader fixes