better support for patches with lots of output