Revert "Fixed monkey patch error"

This reverts commit b2396df87484a4c2621ea99cc8ac9e8c779d0c73.