Fix bug that set href to small element