fix html5 ref