fix text show bugs