[add] some exceptions handling