refactor,remove acceptor