fix poll plugin specs deprecations