Typo in accept() logic