- corrected poll() issues