fix bug on instance_eval