patch to convert v0.5 to v0.6