fix patch reordering bug
0.1.1