build top element when checking hook