monkey-patch path