fixed configuration loading