Patch corrected for homebrew