patch elseif