fixing config vars