fix bug of element selector(couln't lookup the element)