add conf file and fix none content error