Fix html and type