remove some conf and save text message to db

remove some conf and save text message to db