fix comment
add function to wait for an element's name to change