fixed bugs in text