bug fix (get return value from OCVariant::invoke and add option 're')