fix for text invert