fixed choping images embedded in the text