clean function all fields.