Adde fix for patches