remove type field