clean config a bit