fix polling listener