fix add, accept bugs

Signed-off-by: lequana2 <lequana2@gmail.com>