fix transistion for text