patches fix