GenerateReport and ClosePoll fixed.