fix entity text overflow