some fixes for the text object