fixing html structure error