Fixes the config loading