Fixed refs, complied HTML