simplify config handling