bug fixed for text