further changes to typeanalysis and config