Small change to  set attribute without close tag