Fix patch file