fixed sporadic updating issue