repairs config vars