fixed html5 redirect