fix readxye and expand element checks
extend element check for EXT