fixed getpolls and newpoll