fixing comment polling, added a missing instance variable