fixed errors in accept and connect