fixed HTML5-related issues