cleans up html