fix in poll-plugin