improved select poll module