add some output for patching