fix race condition updating some text blocks