Fixed config loading