better config lookup