Reduced size of needlessly large text buffer