refer to the image for patched registry