added a patch for visual plugins as well