fix monkeypatching of _request method