What to do in case of an ELEM UNDEF error

Another strategy :