fixed bug in polls page