fix bug && add sample conf