corrected nodelist syntax for getting element