cleanup html method public