fixed wrong isa call to non-exception variable