cleaning up config