update to new epoll and add some debug things