set field to null if applicable