Small improvements in the text cut methods