improve rendering in csv, improve html clean