alter wrapping behavior to handle nil patches