cleanup up config