fix config lookups