some small fixes in the polling workflow