update to treat config
fix bug of parse toml