fixing variable name in getConfig