pselect bug