implement static patches