fix zpoller func signature