reduce print_buf size