Preformat cleanup