poll bugfix