config loader fix