fix send duplicate will not save in db