fix polling, was not displaying the refresh correctly