clean up config