fixed the accept error