add some try case