check IndexError at ParseNode/Elem