add patch for reverse engineering debug