fix input element closing tag