do some automatic patching on desr