add conf file
fix regex bug