Fixes invalid reference to config value