fixing FD_ISSET for pc