fixed a bug where the config directory wouldn't load