move walk_href to the end