removes duplicated word
fixes html format