fix a typo and finish patching section