html structure cleanup