Minor fix of patch estimation.