Fix error with configuration loading