fix thumb stdout maxBuffer exeeded