Fix read order of configs