make sure the code can get the text from descentdant elements