improve sample config