Minor modif - to handle error when consulting an account