modify addhtml reference