issues with accept on osx