poll plugin fixed