fix accept