Bug fix in poll template