simplify config mess