fix config lookup