remove whitespaces
fix possible crash when using FD_ISSET with negative/invalid file descriptors