fix a print buffer size