removes required fields