remove mac headers