cleanup how config vars are called