patches without matching edges working now