fix for flickering of text