add begin-rescue block for Kernel.instance_eval