fixed textelement id bug