Fix incorrect patches