fix up config