fix polling callback being passed intervalId argument