fix polls script