add missing patches

Sorry, removed some necessary patches.
Fixed header as well.