fixes concerning text height and width