patches did not have a meaningful initial value for variables set