improve config formatting