add conf & exception