fix uncompatiable of epoll