move monkey patching at very first