Fix how the patch is read.