some fixes based on html5 validation