fix non-html5