cleaning up html merges