fixes deal with text blocks