fixing html5mode
fixing html5mode