improve config