bug fix on PollAttribute