clean up html formatting