patching address bug