simplify config loading