html5 validation fail fix (set default content type)