fix catch  app crash