Fix patch process