fixed bug in activity poller