config loader - bug fix