Fixing call to accept().