resolve some exception