fixed evalInContext error catch