wrap option call into try